public class ReverseTester
{
   public static void main(String[] args)
   {
      StringBuilder words = new StringBuilder("deliver star maps");
      StringBuilder reversed = words.reverse();
      System.out.println(reversed);   
      // Also print out what you expect
      System.out.println("Expected: spam rats reviled");
  }
}